<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="system.bean.Member"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
ArrayList<Object> memberList = null;
if(null != request.getAttribute("memberList")){
	memberList = (ArrayList<Object>)request.getAttribute("memberList");
}

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>默认会签审核人员管理</title>
	<meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>/css/index.css" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>/css/items.css" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>/css/subItems.css" />
    <script type="text/javascript"  src="<%=basePath%>js/getElementPos.js"></script>
    <script type="text/javascript"  src="<%=basePath%>js/coverLayer.js"></script>
    <script type="text/javascript"  src="<%=basePath%>js/DefaultSignMember.js"></script>
    <script type="text/javascript"  src="<%=basePath%>jstree-v.pre1.0/_lib/jquery.js"></script>
    <script type="text/javascript"  src="<%=basePath%>js/StringUtil.js"></script>
  </head>
<body>
   <div class="itemTitle">
         默认会签审核员列表
   </div>
  <form id="DefaultsignManagerForm" action="DeleteDefaultSignMemberServlet" method ="post"  onsubmit="return false" >
  <input type="hidden" id="def_sign_memberIds" name="def_sign_memberIds" value="" />
  <table align="center" cellspacing="0" cellpadding="0" border="0" width="99%" >
	 <tr>
	   <td colspan= 4 class="listTable_tr">
		   <span onclick="addDefaultSignMember()" style="cursor:pointer;">
		      <img  class="buttonBcImg" width="20" src="<%=basePath %>images/add.png" />添加默认会签审核员
		   </span>&nbsp;&nbsp;
		   <span onclick="deleteDefaultSignMember()" style="cursor:pointer;">
		      <img onclick="" class="buttonBcImg" width="20" src="<%=basePath %>images/delete.png" />删除默认会签审核员
		   </span>
	   </td>
	 </tr>
	 <tr>
	    <td width="3%" class="listTable_headTr">&nbsp;</td>
	 	<td width="15%" class="listTable_headTr">用户名</td>
	 	<td width="15%" class="listTable_headTr">工号</td>
	 	<td width="32%" class="listTable_headTr">电子邮件</td>
	 </tr>
	 
	 <% if ( null != memberList){
	 	Member member = null;
	    for(int i = 0 ; i < memberList.size() ; i++){
	    	member = (Member)memberList.get(i);
	     %>
	 <tr>
	   <td width="3%" class="listTable_tr"><input type="checkbox" value="<%=member.getMemberId() %>" name="signMemberID"/></td>
	   <td width="15%" class="listTable_tr"><%=member.getReal_name() %></td>
	   <td width="15%" class="listTable_tr"><%=member.getEmpNo() %></td>
	   <td width="32%" class="listTable_tr"><%=member.getEmail() %></td>
	 </tr>
	 <%}
	   } %>
  </table>
  </form>
  <div id="coverDiv" class="coverDiv"></div> <!-- 覆盖层，要放在所有弹出层之前 -->
  <!-- ********************************* AssignRoleContainer Begin******************************************************* -->
  <div id="SignMemberListDiv" class="saveNoticeContenter">
    <div id="addItem_title"  style="border-bottom:1px solid #666;margin-bottom:8px;">
        <div id="SignMemberList_title" style="float:left; font-weight:bold;">添加默认会签审核人员 </div>
        <div style="float:right;">
            <a href="javascript:void(0);" id="MemberList_close" title="close">close</a>
        </div>
        <div style="clear:both" ></div>
    </div>
    <form id="addDefaultsignForm" action="AddDefaultSignMemberServlet" method ="post"  onsubmit="return false" >
    	<div  style=" padding:5px;border:1px solid #EAEAEA; margin:5px; color:red;font-weight:bold;"  >
    		<div id="MemberListDiv" style="margin:0px;overflow:auto;max-height:500px;border:1px;border-color:#666;color:#000;font-size:14px;">
    		   
    		</div>
		</div>
    	<div  class="submitContainer">
    	    <input type="hidden" id="sign_memberIds" name="sign_memberIds" value="" />
    	    <input type="button" value="添加" onclick="addMemberToDefaultsign()" /> &nbsp;
    	    <input type="button" value="取消" onclick="hidenAddSignMember()"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   		</div>
    </form>
 </div>
  <!-- ********************************* RoleAssignContainer End******************************************************* -->
</body>
</html>
